package com.lyl.cloud.controller;

import com.lyl.cloud.service.IMessageProvider;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class SendMsgController {
    @Resource
    private IMessageProvider messageProvider;

    @GetMapping("/send")
    public void sendMsg(){
        messageProvider.send();
    }
}
